<?php
/**
 * Created by PhpStorm.
 * User: gy812
 * Date: 2020/1/9
 * Time: 13:26
 */

namespace App\Http\Middleware;


use http\Env\Response;
use PhpParser\Node\Expr\Closure;

class ApiAuth
{

    public function handle($request,Closure $next){
        return Response::json(["status"=>"0","msg"=>"不安全的访问"],401);
    }

}
